/**
 * 
 */
package org.istt.service.impl;

import org.istt.dao.FileStatusDao;
import org.istt.domain.FileStatus;
import org.istt.service.FileStatusManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("fileStatusManager")
public class FileStatusManagerImpl extends ManagerImpl<FileStatus, Long> implements FileStatusManager {
	/**
	 * @param categoryDao the categoryDao to set
	 */
	@Autowired
	public void setFileStatusDao(FileStatusDao dao) {
		this.dao = dao;
	}

	@Override
	public FileStatus searchIgnoreCaseByStatus(String status) {
		return ((FileStatusDao)dao).findIgnoreCaseByStatus(status);
	}
}
